﻿using System.Drawing;
using System.Drawing.Design;
using System.IO;
using System.Reflection;

namespace Shp.Web.UI.WebControls.Iconized.Editors
{
   /// <summary>
   /// Icon Type UI Type Editor.
   /// </summary>
   public class IconUITypeEditor : UITypeEditor
   {
      #region Fields
      #endregion Fields

      #region Properties
      #endregion Properties

      #region Methods
      /// <summary>
      /// Indicates whether the specified context supports painting a representation of an object's value within the specified context.
      /// </summary>
      /// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext"/> that can be used to gain additional context information.</param>
      /// <returns>
      /// true if <see cref="M:System.Drawing.Design.UITypeEditor.PaintValue(System.Object,System.Drawing.Graphics,System.Drawing.Rectangle)"/> is implemented; otherwise, false.
      /// </returns>
      public override bool GetPaintValueSupported(System.ComponentModel.ITypeDescriptorContext context)
      {
         return true;
      }

      /// <summary>
      /// Paints a representation of the value of an object using the specified <see cref="T:System.Drawing.Design.PaintValueEventArgs"/>.
      /// </summary>
      /// <param name="e">A <see cref="T:System.Drawing.Design.PaintValueEventArgs"/> that indicates what to paint and where to paint it.</param>
      public override void PaintValue(PaintValueEventArgs e)
      {
         Assembly asm = Assembly.GetExecutingAssembly();
         using (Stream file = asm.GetManifestResourceStream(this.GetIconResource((IconType)e.Value)))
         {
            Bitmap ico = (Bitmap)Image.FromStream(file);
            Rectangle icoBounds = e.Bounds;
            ico.MakeTransparent();
            e.Graphics.DrawImage(ico, icoBounds);            
         }
      }

      /// <summary>
      /// Gets the icon resource.
      /// </summary>
      /// <param name="iconType">Type of the icon.</param>
      /// <returns></returns>
      protected string GetIconResource(IconType iconType)
      {
         string resourceName = string.Empty;
         switch (iconType)
         {
            case IconType.None: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.dt.none.png"; break;
            case IconType.Custom: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.dt.custom.png"; break;
            case IconType.Accept: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.accept.png"; break;
            case IconType.Add: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.add.png"; break;
            case IconType.Anchor: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.anchor.png"; break;
            case IconType.Application: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application.png"; break;
            case IconType.ApplicationAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_add.png"; break;
            case IconType.ApplicationCascade: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_cascade.png"; break;
            case IconType.ApplicationDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_delete.png"; break;
            case IconType.ApplicationDouble: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_double.png"; break;
            case IconType.ApplicationEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_edit.png"; break;
            case IconType.ApplicationError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_error.png"; break;
            case IconType.ApplicationForm: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_form.png"; break;
            case IconType.ApplicationFormAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_form_add.png"; break;
            case IconType.ApplicationFormDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_form_delete.png"; break;
            case IconType.ApplicationFormEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_form_edit.png"; break;
            case IconType.ApplicationFormMagnify: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_form_magnify.png"; break;
            case IconType.ApplicationGet: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_get.png"; break;
            case IconType.ApplicationGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_go.png"; break;
            case IconType.ApplicationHome: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_home.png"; break;
            case IconType.ApplicationKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_key.png"; break;
            case IconType.ApplicationLightning: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_lightning.png"; break;
            case IconType.ApplicationLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_link.png"; break;
            case IconType.ApplicationOsx: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_osx.png"; break;
            case IconType.ApplicationOsxTerminal: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_osx_terminal.png"; break;
            case IconType.ApplicationPut: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_put.png"; break;
            case IconType.ApplicationSideBoxes: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_side_boxes.png"; break;
            case IconType.ApplicationSideContract: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_side_contract.png"; break;
            case IconType.ApplicationSideExpand: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_side_expand.png"; break;
            case IconType.ApplicationSideList: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_side_list.png"; break;
            case IconType.ApplicationSideTree: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_side_tree.png"; break;
            case IconType.ApplicationSplit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_split.png"; break;
            case IconType.ApplicationTileHorizontal: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_tile_horizontal.png"; break;
            case IconType.ApplicationTileVertical: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_tile_vertical.png"; break;
            case IconType.ApplicationViewColumns: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_view_columns.png"; break;
            case IconType.ApplicationViewDetail: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_view_detail.png"; break;
            case IconType.ApplicationViewGallery: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_view_gallery.png"; break;
            case IconType.ApplicationViewIcons: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_view_icons.png"; break;
            case IconType.ApplicationViewList: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_view_list.png"; break;
            case IconType.ApplicationViewTile: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_view_tile.png"; break;
            case IconType.ApplicationXp: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_xp.png"; break;
            case IconType.ApplicationXpTerminal: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.application_xp_terminal.png"; break;
            case IconType.ArrowBranch: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_branch.png"; break;
            case IconType.ArrowDivide: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_divide.png"; break;
            case IconType.ArrowDown: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_down.png"; break;
            case IconType.ArrowIn: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_in.png"; break;
            case IconType.ArrowInout: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_inout.png"; break;
            case IconType.ArrowJoin: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_join.png"; break;
            case IconType.ArrowLeft: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_left.png"; break;
            case IconType.ArrowMerge: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_merge.png"; break;
            case IconType.ArrowOut: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_out.png"; break;
            case IconType.ArrowRedo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_redo.png"; break;
            case IconType.ArrowRefresh: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_refresh.png"; break;
            case IconType.ArrowRefreshSmall: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_refresh_small.png"; break;
            case IconType.ArrowRight: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_right.png"; break;
            case IconType.ArrowRotateAnticlockwise: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_rotate_anticlockwise.png"; break;
            case IconType.ArrowRotateClockwise: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_rotate_clockwise.png"; break;
            case IconType.ArrowSwitch: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_switch.png"; break;
            case IconType.ArrowTurnLeft: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_turn_left.png"; break;
            case IconType.ArrowTurnRight: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_turn_right.png"; break;
            case IconType.ArrowUndo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_undo.png"; break;
            case IconType.ArrowUp: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.arrow_up.png"; break;
            case IconType.AsteriskOrange: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.asterisk_orange.png"; break;
            case IconType.AsteriskYellow: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.asterisk_yellow.png"; break;
            case IconType.Attach: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.attach.png"; break;
            case IconType.AwardStarAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.award_star_add.png"; break;
            case IconType.AwardStarBronze1: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.award_star_bronze_1.png"; break;
            case IconType.AwardStarBronze2: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.award_star_bronze_2.png"; break;
            case IconType.AwardStarBronze3: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.award_star_bronze_3.png"; break;
            case IconType.AwardStarDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.award_star_delete.png"; break;
            case IconType.AwardStarGold1: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.award_star_gold_1.png"; break;
            case IconType.AwardStarGold2: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.award_star_gold_2.png"; break;
            case IconType.AwardStarGold3: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.award_star_gold_3.png"; break;
            case IconType.AwardStarSilver1: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.award_star_silver_1.png"; break;
            case IconType.AwardStarSilver2: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.award_star_silver_2.png"; break;
            case IconType.AwardStarSilver3: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.award_star_silver_3.png"; break;
            case IconType.Basket: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.basket.png"; break;
            case IconType.BasketAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.basket_add.png"; break;
            case IconType.BasketDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.basket_delete.png"; break;
            case IconType.BasketEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.basket_edit.png"; break;
            case IconType.BasketError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.basket_error.png"; break;
            case IconType.BasketGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.basket_go.png"; break;
            case IconType.BasketPut: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.basket_put.png"; break;
            case IconType.BasketRemove: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.basket_remove.png"; break;
            case IconType.Bell: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bell.png"; break;
            case IconType.BellAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bell_add.png"; break;
            case IconType.BellDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bell_delete.png"; break;
            case IconType.BellError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bell_error.png"; break;
            case IconType.BellGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bell_go.png"; break;
            case IconType.BellLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bell_link.png"; break;
            case IconType.Bin: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bin.png"; break;
            case IconType.BinClosed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bin_closed.png"; break;
            case IconType.BinEmpty: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bin_empty.png"; break;
            case IconType.Bomb: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bomb.png"; break;
            case IconType.Book: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.book.png"; break;
            case IconType.BookAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.book_add.png"; break;
            case IconType.BookAddresses: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.book_addresses.png"; break;
            case IconType.BookDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.book_delete.png"; break;
            case IconType.BookEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.book_edit.png"; break;
            case IconType.BookError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.book_error.png"; break;
            case IconType.BookGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.book_go.png"; break;
            case IconType.BookKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.book_key.png"; break;
            case IconType.BookLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.book_link.png"; break;
            case IconType.BookNext: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.book_next.png"; break;
            case IconType.BookOpen: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.book_open.png"; break;
            case IconType.BookPrevious: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.book_previous.png"; break;
            case IconType.Box: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.box.png"; break;
            case IconType.Brick: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.brick.png"; break;
            case IconType.Bricks: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bricks.png"; break;
            case IconType.BrickAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.brick_add.png"; break;
            case IconType.BrickDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.brick_delete.png"; break;
            case IconType.BrickEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.brick_edit.png"; break;
            case IconType.BrickError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.brick_error.png"; break;
            case IconType.BrickGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.brick_go.png"; break;
            case IconType.BrickLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.brick_link.png"; break;
            case IconType.Briefcase: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.briefcase.png"; break;
            case IconType.Bug: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bug.png"; break;
            case IconType.BugAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bug_add.png"; break;
            case IconType.BugDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bug_delete.png"; break;
            case IconType.BugEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bug_edit.png"; break;
            case IconType.BugError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bug_error.png"; break;
            case IconType.BugGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bug_go.png"; break;
            case IconType.BugLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bug_link.png"; break;
            case IconType.Building: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.building.png"; break;
            case IconType.BuildingAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.building_add.png"; break;
            case IconType.BuildingDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.building_delete.png"; break;
            case IconType.BuildingEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.building_edit.png"; break;
            case IconType.BuildingError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.building_error.png"; break;
            case IconType.BuildingGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.building_go.png"; break;
            case IconType.BuildingKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.building_key.png"; break;
            case IconType.BuildingLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.building_link.png"; break;
            case IconType.BulletAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_add.png"; break;
            case IconType.BulletArrowBottom: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_arrow_bottom.png"; break;
            case IconType.BulletArrowDown: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_arrow_down.png"; break;
            case IconType.BulletArrowTop: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_arrow_top.png"; break;
            case IconType.BulletArrowUp: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_arrow_up.png"; break;
            case IconType.BulletBlack: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_black.png"; break;
            case IconType.BulletBlue: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_blue.png"; break;
            case IconType.BulletDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_delete.png"; break;
            case IconType.BulletDisk: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_disk.png"; break;
            case IconType.BulletError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_error.png"; break;
            case IconType.BulletFeed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_feed.png"; break;
            case IconType.BulletGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_go.png"; break;
            case IconType.BulletGreen: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_green.png"; break;
            case IconType.BulletKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_key.png"; break;
            case IconType.BulletOrange: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_orange.png"; break;
            case IconType.BulletPicture: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_picture.png"; break;
            case IconType.BulletPink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_pink.png"; break;
            case IconType.BulletPurple: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_purple.png"; break;
            case IconType.BulletRed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_red.png"; break;
            case IconType.BulletStar: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_star.png"; break;
            case IconType.BulletToggleMinus: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_toggle_minus.png"; break;
            case IconType.BulletTogglePlus: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_toggle_plus.png"; break;
            case IconType.BulletWhite: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_white.png"; break;
            case IconType.BulletWrench: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_wrench.png"; break;
            case IconType.BulletYellow: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.bullet_yellow.png"; break;
            case IconType.Cake: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cake.png"; break;
            case IconType.Calculator: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.calculator.png"; break;
            case IconType.CalculatorAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.calculator_add.png"; break;
            case IconType.CalculatorDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.calculator_delete.png"; break;
            case IconType.CalculatorEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.calculator_edit.png"; break;
            case IconType.CalculatorError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.calculator_error.png"; break;
            case IconType.CalculatorLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.calculator_link.png"; break;
            case IconType.Calendar: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.calendar.png"; break;
            case IconType.CalendarAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.calendar_add.png"; break;
            case IconType.CalendarDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.calendar_delete.png"; break;
            case IconType.CalendarEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.calendar_edit.png"; break;
            case IconType.CalendarLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.calendar_link.png"; break;
            case IconType.CalendarViewDay: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.calendar_view_day.png"; break;
            case IconType.CalendarViewMonth: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.calendar_view_month.png"; break;
            case IconType.CalendarViewWeek: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.calendar_view_week.png"; break;
            case IconType.Camera: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.camera.png"; break;
            case IconType.CameraAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.camera_add.png"; break;
            case IconType.CameraDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.camera_delete.png"; break;
            case IconType.CameraEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.camera_edit.png"; break;
            case IconType.CameraError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.camera_error.png"; break;
            case IconType.CameraGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.camera_go.png"; break;
            case IconType.CameraLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.camera_link.png"; break;
            case IconType.CameraSmall: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.camera_small.png"; break;
            case IconType.Cancel: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cancel.png"; break;
            case IconType.Car: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.car.png"; break;
            case IconType.Cart: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cart.png"; break;
            case IconType.CartAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cart_add.png"; break;
            case IconType.CartDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cart_delete.png"; break;
            case IconType.CartEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cart_edit.png"; break;
            case IconType.CartError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cart_error.png"; break;
            case IconType.CartGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cart_go.png"; break;
            case IconType.CartPut: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cart_put.png"; break;
            case IconType.CartRemove: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cart_remove.png"; break;
            case IconType.CarAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.car_add.png"; break;
            case IconType.CarDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.car_delete.png"; break;
            case IconType.Cd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cd.png"; break;
            case IconType.CdAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cd_add.png"; break;
            case IconType.CdBurn: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cd_burn.png"; break;
            case IconType.CdDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cd_delete.png"; break;
            case IconType.CdEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cd_edit.png"; break;
            case IconType.CdEject: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cd_eject.png"; break;
            case IconType.CdGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cd_go.png"; break;
            case IconType.ChartBar: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_bar.png"; break;
            case IconType.ChartBarAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_bar_add.png"; break;
            case IconType.ChartBarDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_bar_delete.png"; break;
            case IconType.ChartBarEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_bar_edit.png"; break;
            case IconType.ChartBarError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_bar_error.png"; break;
            case IconType.ChartBarLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_bar_link.png"; break;
            case IconType.ChartCurve: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_curve.png"; break;
            case IconType.ChartCurveAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_curve_add.png"; break;
            case IconType.ChartCurveDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_curve_delete.png"; break;
            case IconType.ChartCurveEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_curve_edit.png"; break;
            case IconType.ChartCurveError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_curve_error.png"; break;
            case IconType.ChartCurveGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_curve_go.png"; break;
            case IconType.ChartCurveLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_curve_link.png"; break;
            case IconType.ChartLine: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_line.png"; break;
            case IconType.ChartLineAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_line_add.png"; break;
            case IconType.ChartLineDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_line_delete.png"; break;
            case IconType.ChartLineEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_line_edit.png"; break;
            case IconType.ChartLineError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_line_error.png"; break;
            case IconType.ChartLineLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_line_link.png"; break;
            case IconType.ChartOrganisation: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_organisation.png"; break;
            case IconType.ChartOrganisationAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_organisation_add.png"; break;
            case IconType.ChartOrganisationDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_organisation_delete.png"; break;
            case IconType.ChartPie: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_pie.png"; break;
            case IconType.ChartPieAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_pie_add.png"; break;
            case IconType.ChartPieDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_pie_delete.png"; break;
            case IconType.ChartPieEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_pie_edit.png"; break;
            case IconType.ChartPieError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_pie_error.png"; break;
            case IconType.ChartPieLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.chart_pie_link.png"; break;
            case IconType.Clock: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.clock.png"; break;
            case IconType.ClockAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.clock_add.png"; break;
            case IconType.ClockDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.clock_delete.png"; break;
            case IconType.ClockEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.clock_edit.png"; break;
            case IconType.ClockError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.clock_error.png"; break;
            case IconType.ClockGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.clock_go.png"; break;
            case IconType.ClockLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.clock_link.png"; break;
            case IconType.ClockPause: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.clock_pause.png"; break;
            case IconType.ClockPlay: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.clock_play.png"; break;
            case IconType.ClockRed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.clock_red.png"; break;
            case IconType.ClockStop: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.clock_stop.png"; break;
            case IconType.Cog: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cog.png"; break;
            case IconType.CogAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cog_add.png"; break;
            case IconType.CogDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cog_delete.png"; break;
            case IconType.CogEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cog_edit.png"; break;
            case IconType.CogError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cog_error.png"; break;
            case IconType.CogGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cog_go.png"; break;
            case IconType.Coins: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.coins.png"; break;
            case IconType.CoinsAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.coins_add.png"; break;
            case IconType.CoinsDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.coins_delete.png"; break;
            case IconType.ColorSwatch: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.color_swatch.png"; break;
            case IconType.ColorWheel: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.color_wheel.png"; break;
            case IconType.Comment: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.comment.png"; break;
            case IconType.Comments: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.comments.png"; break;
            case IconType.CommentsAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.comments_add.png"; break;
            case IconType.CommentsDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.comments_delete.png"; break;
            case IconType.CommentAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.comment_add.png"; break;
            case IconType.CommentDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.comment_delete.png"; break;
            case IconType.CommentEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.comment_edit.png"; break;
            case IconType.Compress: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.compress.png"; break;
            case IconType.Computer: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.computer.png"; break;
            case IconType.ComputerAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.computer_add.png"; break;
            case IconType.ComputerDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.computer_delete.png"; break;
            case IconType.ComputerEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.computer_edit.png"; break;
            case IconType.ComputerError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.computer_error.png"; break;
            case IconType.ComputerGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.computer_go.png"; break;
            case IconType.ComputerKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.computer_key.png"; break;
            case IconType.ComputerLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.computer_link.png"; break;
            case IconType.Connect: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.connect.png"; break;
            case IconType.Contrast: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.contrast.png"; break;
            case IconType.ContrastDecrease: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.contrast_decrease.png"; break;
            case IconType.ContrastHigh: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.contrast_high.png"; break;
            case IconType.ContrastIncrease: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.contrast_increase.png"; break;
            case IconType.ContrastLow: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.contrast_low.png"; break;
            case IconType.Controller: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.controller.png"; break;
            case IconType.ControllerAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.controller_add.png"; break;
            case IconType.ControllerDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.controller_delete.png"; break;
            case IconType.ControllerError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.controller_error.png"; break;
            case IconType.ControlEject: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_eject.png"; break;
            case IconType.ControlEjectBlue: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_eject_blue.png"; break;
            case IconType.ControlEnd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_end.png"; break;
            case IconType.ControlEndBlue: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_end_blue.png"; break;
            case IconType.ControlEqualizer: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_equalizer.png"; break;
            case IconType.ControlEqualizerBlue: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_equalizer_blue.png"; break;
            case IconType.ControlFastforward: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_fastforward.png"; break;
            case IconType.ControlFastforwardBlue: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_fastforward_blue.png"; break;
            case IconType.ControlPause: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_pause.png"; break;
            case IconType.ControlPauseBlue: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_pause_blue.png"; break;
            case IconType.ControlPlay: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_play.png"; break;
            case IconType.ControlPlayBlue: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_play_blue.png"; break;
            case IconType.ControlRepeat: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_repeat.png"; break;
            case IconType.ControlRepeatBlue: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_repeat_blue.png"; break;
            case IconType.ControlRewind: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_rewind.png"; break;
            case IconType.ControlRewindBlue: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_rewind_blue.png"; break;
            case IconType.ControlStart: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_start.png"; break;
            case IconType.ControlStartBlue: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_start_blue.png"; break;
            case IconType.ControlStop: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_stop.png"; break;
            case IconType.ControlStopBlue: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.control_stop_blue.png"; break;
            case IconType.Creditcards: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.creditcards.png"; break;
            case IconType.Cross: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cross.png"; break;
            case IconType.Css: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.css.png"; break;
            case IconType.CssAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.css_add.png"; break;
            case IconType.CssDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.css_delete.png"; break;
            case IconType.CssGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.css_go.png"; break;
            case IconType.CssValid: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.css_valid.png"; break;
            case IconType.Cup: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cup.png"; break;
            case IconType.CupAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cup_add.png"; break;
            case IconType.CupDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cup_delete.png"; break;
            case IconType.CupEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cup_edit.png"; break;
            case IconType.CupError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cup_error.png"; break;
            case IconType.CupGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cup_go.png"; break;
            case IconType.CupKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cup_key.png"; break;
            case IconType.CupLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cup_link.png"; break;
            case IconType.Cursor: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cursor.png"; break;
            case IconType.Cut: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cut.png"; break;
            case IconType.CutRed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.cut_red.png"; break;
            case IconType.Database: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.database.png"; break;
            case IconType.DatabaseAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.database_add.png"; break;
            case IconType.DatabaseConnect: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.database_connect.png"; break;
            case IconType.DatabaseDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.database_delete.png"; break;
            case IconType.DatabaseEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.database_edit.png"; break;
            case IconType.DatabaseError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.database_error.png"; break;
            case IconType.DatabaseGear: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.database_gear.png"; break;
            case IconType.DatabaseGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.database_go.png"; break;
            case IconType.DatabaseKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.database_key.png"; break;
            case IconType.DatabaseLightning: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.database_lightning.png"; break;
            case IconType.DatabaseLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.database_link.png"; break;
            case IconType.DatabaseRefresh: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.database_refresh.png"; break;
            case IconType.DatabaseSave: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.database_save.png"; break;
            case IconType.DatabaseTable: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.database_table.png"; break;
            case IconType.Date: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.date.png"; break;
            case IconType.DateAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.date_add.png"; break;
            case IconType.DateDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.date_delete.png"; break;
            case IconType.DateEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.date_edit.png"; break;
            case IconType.DateError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.date_error.png"; break;
            case IconType.DateGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.date_go.png"; break;
            case IconType.DateLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.date_link.png"; break;
            case IconType.DateMagnify: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.date_magnify.png"; break;
            case IconType.DateNext: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.date_next.png"; break;
            case IconType.DatePrevious: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.date_previous.png"; break;
            case IconType.Delete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.delete.png"; break;
            case IconType.Disconnect: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.disconnect.png"; break;
            case IconType.Disk: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.disk.png"; break;
            case IconType.DiskMultiple: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.disk_multiple.png"; break;
            case IconType.Door: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.door.png"; break;
            case IconType.DoorIn: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.door_in.png"; break;
            case IconType.DoorOpen: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.door_open.png"; break;
            case IconType.DoorOut: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.door_out.png"; break;
            case IconType.Drink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drink.png"; break;
            case IconType.DrinkEmpty: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drink_empty.png"; break;
            case IconType.Drive: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive.png"; break;
            case IconType.DriveAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive_add.png"; break;
            case IconType.DriveBurn: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive_burn.png"; break;
            case IconType.DriveCd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive_cd.png"; break;
            case IconType.DriveCdEmpty: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive_cd_empty.png"; break;
            case IconType.DriveDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive_delete.png"; break;
            case IconType.DriveDisk: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive_disk.png"; break;
            case IconType.DriveEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive_edit.png"; break;
            case IconType.DriveError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive_error.png"; break;
            case IconType.DriveGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive_go.png"; break;
            case IconType.DriveKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive_key.png"; break;
            case IconType.DriveLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive_link.png"; break;
            case IconType.DriveMagnify: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive_magnify.png"; break;
            case IconType.DriveNetwork: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive_network.png"; break;
            case IconType.DriveRename: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive_rename.png"; break;
            case IconType.DriveUser: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive_user.png"; break;
            case IconType.DriveWeb: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.drive_web.png"; break;
            case IconType.Dvd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.dvd.png"; break;
            case IconType.DvdAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.dvd_add.png"; break;
            case IconType.DvdDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.dvd_delete.png"; break;
            case IconType.DvdEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.dvd_edit.png"; break;
            case IconType.DvdError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.dvd_error.png"; break;
            case IconType.DvdGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.dvd_go.png"; break;
            case IconType.DvdKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.dvd_key.png"; break;
            case IconType.DvdLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.dvd_link.png"; break;
            case IconType.Email: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.email.png"; break;
            case IconType.EmailAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.email_add.png"; break;
            case IconType.EmailAttach: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.email_attach.png"; break;
            case IconType.EmailDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.email_delete.png"; break;
            case IconType.EmailEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.email_edit.png"; break;
            case IconType.EmailError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.email_error.png"; break;
            case IconType.EmailGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.email_go.png"; break;
            case IconType.EmailLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.email_link.png"; break;
            case IconType.EmailOpen: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.email_open.png"; break;
            case IconType.EmailOpenImage: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.email_open_image.png"; break;
            case IconType.EmoticonEvilgrin: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.emoticon_evilgrin.png"; break;
            case IconType.EmoticonGrin: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.emoticon_grin.png"; break;
            case IconType.EmoticonHappy: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.emoticon_happy.png"; break;
            case IconType.EmoticonSmile: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.emoticon_smile.png"; break;
            case IconType.EmoticonSurprised: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.emoticon_surprised.png"; break;
            case IconType.EmoticonTongue: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.emoticon_tongue.png"; break;
            case IconType.EmoticonUnhappy: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.emoticon_unhappy.png"; break;
            case IconType.EmoticonWaii: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.emoticon_waii.png"; break;
            case IconType.EmoticonWink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.emoticon_wink.png"; break;
            case IconType.Error: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.error.png"; break;
            case IconType.ErrorAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.error_add.png"; break;
            case IconType.ErrorDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.error_delete.png"; break;
            case IconType.ErrorGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.error_go.png"; break;
            case IconType.Exclamation: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.exclamation.png"; break;
            case IconType.Eye: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.eye.png"; break;
            case IconType.Feed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.feed.png"; break;
            case IconType.FeedAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.feed_add.png"; break;
            case IconType.FeedDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.feed_delete.png"; break;
            case IconType.FeedDisk: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.feed_disk.png"; break;
            case IconType.FeedEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.feed_edit.png"; break;
            case IconType.FeedError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.feed_error.png"; break;
            case IconType.FeedGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.feed_go.png"; break;
            case IconType.FeedKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.feed_key.png"; break;
            case IconType.FeedLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.feed_link.png"; break;
            case IconType.FeedMagnify: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.feed_magnify.png"; break;
            case IconType.Female: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.female.png"; break;
            case IconType.Film: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.film.png"; break;
            case IconType.FilmAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.film_add.png"; break;
            case IconType.FilmDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.film_delete.png"; break;
            case IconType.FilmEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.film_edit.png"; break;
            case IconType.FilmError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.film_error.png"; break;
            case IconType.FilmGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.film_go.png"; break;
            case IconType.FilmKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.film_key.png"; break;
            case IconType.FilmLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.film_link.png"; break;
            case IconType.FilmSave: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.film_save.png"; break;
            case IconType.Find: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.find.png"; break;
            case IconType.FlagBlue: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.flag_blue.png"; break;
            case IconType.FlagGreen: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.flag_green.png"; break;
            case IconType.FlagOrange: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.flag_orange.png"; break;
            case IconType.FlagPink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.flag_pink.png"; break;
            case IconType.FlagPurple: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.flag_purple.png"; break;
            case IconType.FlagRed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.flag_red.png"; break;
            case IconType.FlagYellow: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.flag_yellow.png"; break;
            case IconType.Folder: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder.png"; break;
            case IconType.FolderAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_add.png"; break;
            case IconType.FolderBell: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_bell.png"; break;
            case IconType.FolderBrick: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_brick.png"; break;
            case IconType.FolderBug: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_bug.png"; break;
            case IconType.FolderCamera: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_camera.png"; break;
            case IconType.FolderDatabase: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_database.png"; break;
            case IconType.FolderDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_delete.png"; break;
            case IconType.FolderEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_edit.png"; break;
            case IconType.FolderError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_error.png"; break;
            case IconType.FolderExplore: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_explore.png"; break;
            case IconType.FolderFeed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_feed.png"; break;
            case IconType.FolderFind: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_find.png"; break;
            case IconType.FolderGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_go.png"; break;
            case IconType.FolderHeart: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_heart.png"; break;
            case IconType.FolderImage: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_image.png"; break;
            case IconType.FolderKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_key.png"; break;
            case IconType.FolderLightbulb: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_lightbulb.png"; break;
            case IconType.FolderLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_link.png"; break;
            case IconType.FolderMagnify: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_magnify.png"; break;
            case IconType.FolderPage: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_page.png"; break;
            case IconType.FolderPageWhite: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_page_white.png"; break;
            case IconType.FolderPalette: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_palette.png"; break;
            case IconType.FolderPicture: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_picture.png"; break;
            case IconType.FolderStar: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_star.png"; break;
            case IconType.FolderTable: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_table.png"; break;
            case IconType.FolderUser: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_user.png"; break;
            case IconType.FolderWrench: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.folder_wrench.png"; break;
            case IconType.Font: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.font.png"; break;
            case IconType.FontAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.font_add.png"; break;
            case IconType.FontDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.font_delete.png"; break;
            case IconType.FontGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.font_go.png"; break;
            case IconType.Group: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.group.png"; break;
            case IconType.GroupAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.group_add.png"; break;
            case IconType.GroupDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.group_delete.png"; break;
            case IconType.GroupEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.group_edit.png"; break;
            case IconType.GroupError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.group_error.png"; break;
            case IconType.GroupGear: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.group_gear.png"; break;
            case IconType.GroupGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.group_go.png"; break;
            case IconType.GroupKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.group_key.png"; break;
            case IconType.GroupLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.group_link.png"; break;
            case IconType.Heart: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.heart.png"; break;
            case IconType.HeartAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.heart_add.png"; break;
            case IconType.HeartDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.heart_delete.png"; break;
            case IconType.Help: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.help.png"; break;
            case IconType.Hourglass: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.hourglass.png"; break;
            case IconType.HourglassAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.hourglass_add.png"; break;
            case IconType.HourglassDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.hourglass_delete.png"; break;
            case IconType.HourglassGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.hourglass_go.png"; break;
            case IconType.HourglassLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.hourglass_link.png"; break;
            case IconType.House: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.house.png"; break;
            case IconType.HouseGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.house_go.png"; break;
            case IconType.HouseLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.house_link.png"; break;
            case IconType.Html: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.html.png"; break;
            case IconType.HtmlAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.html_add.png"; break;
            case IconType.HtmlDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.html_delete.png"; break;
            case IconType.HtmlGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.html_go.png"; break;
            case IconType.HtmlValid: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.html_valid.png"; break;
            case IconType.Image: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.image.png"; break;
            case IconType.Images: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.images.png"; break;
            case IconType.ImageAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.image_add.png"; break;
            case IconType.ImageDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.image_delete.png"; break;
            case IconType.ImageEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.image_edit.png"; break;
            case IconType.ImageLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.image_link.png"; break;
            case IconType.Information: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.information.png"; break;
            case IconType.Ipod: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.ipod.png"; break;
            case IconType.IpodCast: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.ipod_cast.png"; break;
            case IconType.IpodCastAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.ipod_cast_add.png"; break;
            case IconType.IpodCastDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.ipod_cast_delete.png"; break;
            case IconType.IpodSound: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.ipod_sound.png"; break;
            case IconType.Joystick: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.joystick.png"; break;
            case IconType.JoystickAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.joystick_add.png"; break;
            case IconType.JoystickDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.joystick_delete.png"; break;
            case IconType.JoystickError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.joystick_error.png"; break;
            case IconType.Key: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.key.png"; break;
            case IconType.Keyboard: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.keyboard.png"; break;
            case IconType.KeyboardAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.keyboard_add.png"; break;
            case IconType.KeyboardDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.keyboard_delete.png"; break;
            case IconType.KeyboardMagnify: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.keyboard_magnify.png"; break;
            case IconType.KeyAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.key_add.png"; break;
            case IconType.KeyDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.key_delete.png"; break;
            case IconType.KeyGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.key_go.png"; break;
            case IconType.Layers: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.layers.png"; break;
            case IconType.Layout: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.layout.png"; break;
            case IconType.LayoutAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.layout_add.png"; break;
            case IconType.LayoutContent: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.layout_content.png"; break;
            case IconType.LayoutDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.layout_delete.png"; break;
            case IconType.LayoutEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.layout_edit.png"; break;
            case IconType.LayoutError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.layout_error.png"; break;
            case IconType.LayoutHeader: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.layout_header.png"; break;
            case IconType.LayoutLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.layout_link.png"; break;
            case IconType.LayoutSidebar: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.layout_sidebar.png"; break;
            case IconType.Lightbulb: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lightbulb.png"; break;
            case IconType.LightbulbAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lightbulb_add.png"; break;
            case IconType.LightbulbDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lightbulb_delete.png"; break;
            case IconType.LightbulbOff: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lightbulb_off.png"; break;
            case IconType.Lightning: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lightning.png"; break;
            case IconType.LightningAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lightning_add.png"; break;
            case IconType.LightningDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lightning_delete.png"; break;
            case IconType.LightningGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lightning_go.png"; break;
            case IconType.Link: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.link.png"; break;
            case IconType.LinkAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.link_add.png"; break;
            case IconType.LinkBreak: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.link_break.png"; break;
            case IconType.LinkDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.link_delete.png"; break;
            case IconType.LinkEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.link_edit.png"; break;
            case IconType.LinkError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.link_error.png"; break;
            case IconType.LinkGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.link_go.png"; break;
            case IconType.Lock: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lock.png"; break;
            case IconType.LockAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lock_add.png"; break;
            case IconType.LockBreak: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lock_break.png"; break;
            case IconType.LockDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lock_delete.png"; break;
            case IconType.LockEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lock_edit.png"; break;
            case IconType.LockGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lock_go.png"; break;
            case IconType.LockOpen: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lock_open.png"; break;
            case IconType.Lorry: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lorry.png"; break;
            case IconType.LorryAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lorry_add.png"; break;
            case IconType.LorryDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lorry_delete.png"; break;
            case IconType.LorryError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lorry_error.png"; break;
            case IconType.LorryFlatbed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lorry_flatbed.png"; break;
            case IconType.LorryGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lorry_go.png"; break;
            case IconType.LorryLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.lorry_link.png"; break;
            case IconType.MagifierZoomOut: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.magifier_zoom_out.png"; break;
            case IconType.Magnifier: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.magnifier.png"; break;
            case IconType.MagnifierZoomIn: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.magnifier_zoom_in.png"; break;
            case IconType.Male: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.male.png"; break;
            case IconType.Map: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.map.png"; break;
            case IconType.MapAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.map_add.png"; break;
            case IconType.MapDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.map_delete.png"; break;
            case IconType.MapEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.map_edit.png"; break;
            case IconType.MapGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.map_go.png"; break;
            case IconType.MapMagnify: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.map_magnify.png"; break;
            case IconType.MedalBronze1: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.medal_bronze_1.png"; break;
            case IconType.MedalBronze2: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.medal_bronze_2.png"; break;
            case IconType.MedalBronze3: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.medal_bronze_3.png"; break;
            case IconType.MedalBronzeAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.medal_bronze_add.png"; break;
            case IconType.MedalBronzeDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.medal_bronze_delete.png"; break;
            case IconType.MedalGold1: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.medal_gold_1.png"; break;
            case IconType.MedalGold2: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.medal_gold_2.png"; break;
            case IconType.MedalGold3: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.medal_gold_3.png"; break;
            case IconType.MedalGoldAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.medal_gold_add.png"; break;
            case IconType.MedalGoldDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.medal_gold_delete.png"; break;
            case IconType.MedalSilver1: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.medal_silver_1.png"; break;
            case IconType.MedalSilver2: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.medal_silver_2.png"; break;
            case IconType.MedalSilver3: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.medal_silver_3.png"; break;
            case IconType.MedalSilverAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.medal_silver_add.png"; break;
            case IconType.MedalSilverDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.medal_silver_delete.png"; break;
            case IconType.Money: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.money.png"; break;
            case IconType.MoneyAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.money_add.png"; break;
            case IconType.MoneyDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.money_delete.png"; break;
            case IconType.MoneyDollar: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.money_dollar.png"; break;
            case IconType.MoneyEuro: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.money_euro.png"; break;
            case IconType.MoneyPound: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.money_pound.png"; break;
            case IconType.MoneyYen: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.money_yen.png"; break;
            case IconType.Monitor: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.monitor.png"; break;
            case IconType.MonitorAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.monitor_add.png"; break;
            case IconType.MonitorDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.monitor_delete.png"; break;
            case IconType.MonitorEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.monitor_edit.png"; break;
            case IconType.MonitorError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.monitor_error.png"; break;
            case IconType.MonitorGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.monitor_go.png"; break;
            case IconType.MonitorLightning: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.monitor_lightning.png"; break;
            case IconType.MonitorLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.monitor_link.png"; break;
            case IconType.Mouse: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.mouse.png"; break;
            case IconType.MouseAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.mouse_add.png"; break;
            case IconType.MouseDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.mouse_delete.png"; break;
            case IconType.MouseError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.mouse_error.png"; break;
            case IconType.Music: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.music.png"; break;
            case IconType.New: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.new.png"; break;
            case IconType.Newspaper: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.newspaper.png"; break;
            case IconType.NewspaperAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.newspaper_add.png"; break;
            case IconType.NewspaperDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.newspaper_delete.png"; break;
            case IconType.NewspaperGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.newspaper_go.png"; break;
            case IconType.NewspaperLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.newspaper_link.png"; break;
            case IconType.Note: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.note.png"; break;
            case IconType.NoteAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.note_add.png"; break;
            case IconType.NoteDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.note_delete.png"; break;
            case IconType.NoteEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.note_edit.png"; break;
            case IconType.NoteError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.note_error.png"; break;
            case IconType.NoteGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.note_go.png"; break;
            case IconType.Overlays: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.overlays.png"; break;
            case IconType.Package: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.package.png"; break;
            case IconType.PackageAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.package_add.png"; break;
            case IconType.PackageDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.package_delete.png"; break;
            case IconType.PackageGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.package_go.png"; break;
            case IconType.PackageGreen: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.package_green.png"; break;
            case IconType.PackageLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.package_link.png"; break;
            case IconType.Page: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page.png"; break;
            case IconType.PageAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_add.png"; break;
            case IconType.PageAttach: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_attach.png"; break;
            case IconType.PageCode: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_code.png"; break;
            case IconType.PageCopy: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_copy.png"; break;
            case IconType.PageDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_delete.png"; break;
            case IconType.PageEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_edit.png"; break;
            case IconType.PageError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_error.png"; break;
            case IconType.PageExcel: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_excel.png"; break;
            case IconType.PageFind: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_find.png"; break;
            case IconType.PageGear: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_gear.png"; break;
            case IconType.PageGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_go.png"; break;
            case IconType.PageGreen: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_green.png"; break;
            case IconType.PageKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_key.png"; break;
            case IconType.PageLightning: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_lightning.png"; break;
            case IconType.PageLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_link.png"; break;
            case IconType.PagePaintbrush: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_paintbrush.png"; break;
            case IconType.PagePaste: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_paste.png"; break;
            case IconType.PageRed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_red.png"; break;
            case IconType.PageRefresh: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_refresh.png"; break;
            case IconType.PageSave: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_save.png"; break;
            case IconType.PageWhite: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white.png"; break;
            case IconType.PageWhiteAcrobat: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_acrobat.png"; break;
            case IconType.PageWhiteActionscript: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_actionscript.png"; break;
            case IconType.PageWhiteAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_add.png"; break;
            case IconType.PageWhiteC: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_c.png"; break;
            case IconType.PageWhiteCamera: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_camera.png"; break;
            case IconType.PageWhiteCd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_cd.png"; break;
            case IconType.PageWhiteCode: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_code.png"; break;
            case IconType.PageWhiteCodeRed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_code_red.png"; break;
            case IconType.PageWhiteColdfusion: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_coldfusion.png"; break;
            case IconType.PageWhiteCompressed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_compressed.png"; break;
            case IconType.PageWhiteCopy: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_copy.png"; break;
            case IconType.PageWhiteCplusplus: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_cplusplus.png"; break;
            case IconType.PageWhiteCsharp: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_csharp.png"; break;
            case IconType.PageWhiteCup: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_cup.png"; break;
            case IconType.PageWhiteDatabase: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_database.png"; break;
            case IconType.PageWhiteDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_delete.png"; break;
            case IconType.PageWhiteDvd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_dvd.png"; break;
            case IconType.PageWhiteEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_edit.png"; break;
            case IconType.PageWhiteError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_error.png"; break;
            case IconType.PageWhiteExcel: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_excel.png"; break;
            case IconType.PageWhiteFind: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_find.png"; break;
            case IconType.PageWhiteFlash: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_flash.png"; break;
            case IconType.PageWhiteFreehand: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_freehand.png"; break;
            case IconType.PageWhiteGear: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_gear.png"; break;
            case IconType.PageWhiteGet: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_get.png"; break;
            case IconType.PageWhiteGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_go.png"; break;
            case IconType.PageWhiteH: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_h.png"; break;
            case IconType.PageWhiteHorizontal: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_horizontal.png"; break;
            case IconType.PageWhiteKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_key.png"; break;
            case IconType.PageWhiteLightning: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_lightning.png"; break;
            case IconType.PageWhiteLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_link.png"; break;
            case IconType.PageWhiteMagnify: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_magnify.png"; break;
            case IconType.PageWhiteMedal: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_medal.png"; break;
            case IconType.PageWhiteOffice: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_office.png"; break;
            case IconType.PageWhitePaint: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_paint.png"; break;
            case IconType.PageWhitePaintbrush: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_paintbrush.png"; break;
            case IconType.PageWhitePaste: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_paste.png"; break;
            case IconType.PageWhitePhp: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_php.png"; break;
            case IconType.PageWhitePicture: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_picture.png"; break;
            case IconType.PageWhitePowerpoint: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_powerpoint.png"; break;
            case IconType.PageWhitePut: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_put.png"; break;
            case IconType.PageWhiteRuby: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_ruby.png"; break;
            case IconType.PageWhiteStack: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_stack.png"; break;
            case IconType.PageWhiteStar: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_star.png"; break;
            case IconType.PageWhiteSwoosh: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_swoosh.png"; break;
            case IconType.PageWhiteText: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_text.png"; break;
            case IconType.PageWhiteTextWidth: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_text_width.png"; break;
            case IconType.PageWhiteTux: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_tux.png"; break;
            case IconType.PageWhiteVector: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_vector.png"; break;
            case IconType.PageWhiteVisualstudio: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_visualstudio.png"; break;
            case IconType.PageWhiteWidth: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_width.png"; break;
            case IconType.PageWhiteWord: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_word.png"; break;
            case IconType.PageWhiteWorld: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_world.png"; break;
            case IconType.PageWhiteWrench: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_wrench.png"; break;
            case IconType.PageWhiteZip: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_white_zip.png"; break;
            case IconType.PageWord: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_word.png"; break;
            case IconType.PageWorld: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.page_world.png"; break;
            case IconType.Paintbrush: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.paintbrush.png"; break;
            case IconType.Paintcan: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.paintcan.png"; break;
            case IconType.Palette: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.palette.png"; break;
            case IconType.PastePlain: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.paste_plain.png"; break;
            case IconType.PasteWord: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.paste_word.png"; break;
            case IconType.Pencil: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.pencil.png"; break;
            case IconType.PencilAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.pencil_add.png"; break;
            case IconType.PencilDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.pencil_delete.png"; break;
            case IconType.PencilGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.pencil_go.png"; break;
            case IconType.Phone: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.phone.png"; break;
            case IconType.PhoneAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.phone_add.png"; break;
            case IconType.PhoneDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.phone_delete.png"; break;
            case IconType.PhoneSound: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.phone_sound.png"; break;
            case IconType.Photo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.photo.png"; break;
            case IconType.Photos: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.photos.png"; break;
            case IconType.PhotoAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.photo_add.png"; break;
            case IconType.PhotoDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.photo_delete.png"; break;
            case IconType.PhotoLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.photo_link.png"; break;
            case IconType.Picture: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.picture.png"; break;
            case IconType.Pictures: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.pictures.png"; break;
            case IconType.PictureAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.picture_add.png"; break;
            case IconType.PictureDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.picture_delete.png"; break;
            case IconType.PictureEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.picture_edit.png"; break;
            case IconType.PictureEmpty: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.picture_empty.png"; break;
            case IconType.PictureError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.picture_error.png"; break;
            case IconType.PictureGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.picture_go.png"; break;
            case IconType.PictureKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.picture_key.png"; break;
            case IconType.PictureLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.picture_link.png"; break;
            case IconType.PictureSave: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.picture_save.png"; break;
            case IconType.Pilcrow: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.pilcrow.png"; break;
            case IconType.Pill: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.pill.png"; break;
            case IconType.PillAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.pill_add.png"; break;
            case IconType.PillDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.pill_delete.png"; break;
            case IconType.PillGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.pill_go.png"; break;
            case IconType.Plugin: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.plugin.png"; break;
            case IconType.PluginAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.plugin_add.png"; break;
            case IconType.PluginDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.plugin_delete.png"; break;
            case IconType.PluginDisabled: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.plugin_disabled.png"; break;
            case IconType.PluginEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.plugin_edit.png"; break;
            case IconType.PluginError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.plugin_error.png"; break;
            case IconType.PluginGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.plugin_go.png"; break;
            case IconType.PluginLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.plugin_link.png"; break;
            case IconType.Printer: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.printer.png"; break;
            case IconType.PrinterAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.printer_add.png"; break;
            case IconType.PrinterDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.printer_delete.png"; break;
            case IconType.PrinterEmpty: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.printer_empty.png"; break;
            case IconType.PrinterError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.printer_error.png"; break;
            case IconType.Rainbow: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.rainbow.png"; break;
            case IconType.Report: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.report.png"; break;
            case IconType.ReportAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.report_add.png"; break;
            case IconType.ReportDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.report_delete.png"; break;
            case IconType.ReportDisk: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.report_disk.png"; break;
            case IconType.ReportEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.report_edit.png"; break;
            case IconType.ReportGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.report_go.png"; break;
            case IconType.ReportKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.report_key.png"; break;
            case IconType.ReportLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.report_link.png"; break;
            case IconType.ReportMagnify: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.report_magnify.png"; break;
            case IconType.ReportPicture: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.report_picture.png"; break;
            case IconType.ReportUser: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.report_user.png"; break;
            case IconType.ReportWord: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.report_word.png"; break;
            case IconType.ResultsetFirst: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.resultset_first.png"; break;
            case IconType.ResultsetLast: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.resultset_last.png"; break;
            case IconType.ResultsetNext: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.resultset_next.png"; break;
            case IconType.ResultsetPrevious: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.resultset_previous.png"; break;
            case IconType.Rosette: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.rosette.png"; break;
            case IconType.Rss: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.rss.png"; break;
            case IconType.RssAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.rss_add.png"; break;
            case IconType.RssDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.rss_delete.png"; break;
            case IconType.RssGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.rss_go.png"; break;
            case IconType.RssValid: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.rss_valid.png"; break;
            case IconType.Ruby: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.ruby.png"; break;
            case IconType.RubyAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.ruby_add.png"; break;
            case IconType.RubyDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.ruby_delete.png"; break;
            case IconType.RubyGear: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.ruby_gear.png"; break;
            case IconType.RubyGet: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.ruby_get.png"; break;
            case IconType.RubyGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.ruby_go.png"; break;
            case IconType.RubyKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.ruby_key.png"; break;
            case IconType.RubyLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.ruby_link.png"; break;
            case IconType.RubyPut: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.ruby_put.png"; break;
            case IconType.Script: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.script.png"; break;
            case IconType.ScriptAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.script_add.png"; break;
            case IconType.ScriptCode: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.script_code.png"; break;
            case IconType.ScriptCodeRed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.script_code_red.png"; break;
            case IconType.ScriptDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.script_delete.png"; break;
            case IconType.ScriptEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.script_edit.png"; break;
            case IconType.ScriptError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.script_error.png"; break;
            case IconType.ScriptGear: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.script_gear.png"; break;
            case IconType.ScriptGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.script_go.png"; break;
            case IconType.ScriptKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.script_key.png"; break;
            case IconType.ScriptLightning: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.script_lightning.png"; break;
            case IconType.ScriptLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.script_link.png"; break;
            case IconType.ScriptPalette: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.script_palette.png"; break;
            case IconType.ScriptSave: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.script_save.png"; break;
            case IconType.Server: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.server.png"; break;
            case IconType.ServerAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.server_add.png"; break;
            case IconType.ServerChart: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.server_chart.png"; break;
            case IconType.ServerCompressed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.server_compressed.png"; break;
            case IconType.ServerConnect: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.server_connect.png"; break;
            case IconType.ServerDatabase: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.server_database.png"; break;
            case IconType.ServerDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.server_delete.png"; break;
            case IconType.ServerEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.server_edit.png"; break;
            case IconType.ServerError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.server_error.png"; break;
            case IconType.ServerGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.server_go.png"; break;
            case IconType.ServerKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.server_key.png"; break;
            case IconType.ServerLightning: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.server_lightning.png"; break;
            case IconType.ServerLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.server_link.png"; break;
            case IconType.ServerUncompressed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.server_uncompressed.png"; break;
            case IconType.Shading: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shading.png"; break;
            case IconType.ShapeAlignBottom: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_align_bottom.png"; break;
            case IconType.ShapeAlignCenter: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_align_center.png"; break;
            case IconType.ShapeAlignLeft: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_align_left.png"; break;
            case IconType.ShapeAlignMiddle: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_align_middle.png"; break;
            case IconType.ShapeAlignRight: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_align_right.png"; break;
            case IconType.ShapeAlignTop: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_align_top.png"; break;
            case IconType.ShapeFlipHorizontal: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_flip_horizontal.png"; break;
            case IconType.ShapeFlipVertical: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_flip_vertical.png"; break;
            case IconType.ShapeGroup: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_group.png"; break;
            case IconType.ShapeHandles: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_handles.png"; break;
            case IconType.ShapeMoveBack: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_move_back.png"; break;
            case IconType.ShapeMoveBackwards: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_move_backwards.png"; break;
            case IconType.ShapeMoveForwards: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_move_forwards.png"; break;
            case IconType.ShapeMoveFront: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_move_front.png"; break;
            case IconType.ShapeRotateAnticlockwise: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_rotate_anticlockwise.png"; break;
            case IconType.ShapeRotateClockwise: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_rotate_clockwise.png"; break;
            case IconType.ShapeSquare: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_square.png"; break;
            case IconType.ShapeSquareAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_square_add.png"; break;
            case IconType.ShapeSquareDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_square_delete.png"; break;
            case IconType.ShapeSquareEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_square_edit.png"; break;
            case IconType.ShapeSquareError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_square_error.png"; break;
            case IconType.ShapeSquareGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_square_go.png"; break;
            case IconType.ShapeSquareKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_square_key.png"; break;
            case IconType.ShapeSquareLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_square_link.png"; break;
            case IconType.ShapeUngroup: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shape_ungroup.png"; break;
            case IconType.Shield: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shield.png"; break;
            case IconType.ShieldAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shield_add.png"; break;
            case IconType.ShieldDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shield_delete.png"; break;
            case IconType.ShieldGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.shield_go.png"; break;
            case IconType.Sitemap: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sitemap.png"; break;
            case IconType.SitemapColor: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sitemap_color.png"; break;
            case IconType.Sound: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sound.png"; break;
            case IconType.SoundAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sound_add.png"; break;
            case IconType.SoundDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sound_delete.png"; break;
            case IconType.SoundLow: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sound_low.png"; break;
            case IconType.SoundMute: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sound_mute.png"; break;
            case IconType.SoundNone: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sound_none.png"; break;
            case IconType.Spellcheck: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.spellcheck.png"; break;
            case IconType.Sport8ball: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sport_8ball.png"; break;
            case IconType.SportBasketball: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sport_basketball.png"; break;
            case IconType.SportFootball: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sport_football.png"; break;
            case IconType.SportGolf: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sport_golf.png"; break;
            case IconType.SportRaquet: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sport_raquet.png"; break;
            case IconType.SportShuttlecock: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sport_shuttlecock.png"; break;
            case IconType.SportSoccer: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sport_soccer.png"; break;
            case IconType.SportTennis: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sport_tennis.png"; break;
            case IconType.Star: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.star.png"; break;
            case IconType.StatusAway: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.status_away.png"; break;
            case IconType.StatusBusy: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.status_busy.png"; break;
            case IconType.StatusOffline: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.status_offline.png"; break;
            case IconType.StatusOnline: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.status_online.png"; break;
            case IconType.Stop: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.stop.png"; break;
            case IconType.Style: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.style.png"; break;
            case IconType.StyleAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.style_add.png"; break;
            case IconType.StyleDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.style_delete.png"; break;
            case IconType.StyleEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.style_edit.png"; break;
            case IconType.StyleGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.style_go.png"; break;
            case IconType.Sum: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.sum.png"; break;
            case IconType.Tab: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tab.png"; break;
            case IconType.Table: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table.png"; break;
            case IconType.TableAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table_add.png"; break;
            case IconType.TableDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table_delete.png"; break;
            case IconType.TableEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table_edit.png"; break;
            case IconType.TableError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table_error.png"; break;
            case IconType.TableGear: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table_gear.png"; break;
            case IconType.TableGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table_go.png"; break;
            case IconType.TableKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table_key.png"; break;
            case IconType.TableLightning: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table_lightning.png"; break;
            case IconType.TableLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table_link.png"; break;
            case IconType.TableMultiple: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table_multiple.png"; break;
            case IconType.TableRefresh: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table_refresh.png"; break;
            case IconType.TableRelationship: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table_relationship.png"; break;
            case IconType.TableRowDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table_row_delete.png"; break;
            case IconType.TableRowInsert: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table_row_insert.png"; break;
            case IconType.TableSave: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table_save.png"; break;
            case IconType.TableSort: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.table_sort.png"; break;
            case IconType.TabAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tab_add.png"; break;
            case IconType.TabDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tab_delete.png"; break;
            case IconType.TabEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tab_edit.png"; break;
            case IconType.TabGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tab_go.png"; break;
            case IconType.Tag: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tag.png"; break;
            case IconType.TagBlue: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tag_blue.png"; break;
            case IconType.TagBlueAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tag_blue_add.png"; break;
            case IconType.TagBlueDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tag_blue_delete.png"; break;
            case IconType.TagBlueEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tag_blue_edit.png"; break;
            case IconType.TagGreen: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tag_green.png"; break;
            case IconType.TagOrange: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tag_orange.png"; break;
            case IconType.TagPink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tag_pink.png"; break;
            case IconType.TagPurple: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tag_purple.png"; break;
            case IconType.TagRed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tag_red.png"; break;
            case IconType.TagYellow: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tag_yellow.png"; break;
            case IconType.Telephone: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.telephone.png"; break;
            case IconType.TelephoneAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.telephone_add.png"; break;
            case IconType.TelephoneDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.telephone_delete.png"; break;
            case IconType.TelephoneEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.telephone_edit.png"; break;
            case IconType.TelephoneError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.telephone_error.png"; break;
            case IconType.TelephoneGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.telephone_go.png"; break;
            case IconType.TelephoneKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.telephone_key.png"; break;
            case IconType.TelephoneLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.telephone_link.png"; break;
            case IconType.Television: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.television.png"; break;
            case IconType.TelevisionAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.television_add.png"; break;
            case IconType.TelevisionDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.television_delete.png"; break;
            case IconType.Textfield: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.textfield.png"; break;
            case IconType.TextfieldAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.textfield_add.png"; break;
            case IconType.TextfieldDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.textfield_delete.png"; break;
            case IconType.TextfieldKey: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.textfield_key.png"; break;
            case IconType.TextfieldRename: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.textfield_rename.png"; break;
            case IconType.TextAlignCenter: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_align_center.png"; break;
            case IconType.TextAlignJustify: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_align_justify.png"; break;
            case IconType.TextAlignLeft: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_align_left.png"; break;
            case IconType.TextAlignRight: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_align_right.png"; break;
            case IconType.TextAllcaps: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_allcaps.png"; break;
            case IconType.TextBold: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_bold.png"; break;
            case IconType.TextColumns: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_columns.png"; break;
            case IconType.TextDropcaps: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_dropcaps.png"; break;
            case IconType.TextHeading1: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_heading_1.png"; break;
            case IconType.TextHeading2: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_heading_2.png"; break;
            case IconType.TextHeading3: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_heading_3.png"; break;
            case IconType.TextHeading4: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_heading_4.png"; break;
            case IconType.TextHeading5: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_heading_5.png"; break;
            case IconType.TextHeading6: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_heading_6.png"; break;
            case IconType.TextHorizontalrule: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_horizontalrule.png"; break;
            case IconType.TextIndent: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_indent.png"; break;
            case IconType.TextIndentRemove: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_indent_remove.png"; break;
            case IconType.TextItalic: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_italic.png"; break;
            case IconType.TextKerning: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_kerning.png"; break;
            case IconType.TextLetterspacing: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_letterspacing.png"; break;
            case IconType.TextLetterOmega: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_letter_omega.png"; break;
            case IconType.TextLinespacing: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_linespacing.png"; break;
            case IconType.TextListBullets: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_list_bullets.png"; break;
            case IconType.TextListNumbers: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_list_numbers.png"; break;
            case IconType.TextLowercase: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_lowercase.png"; break;
            case IconType.TextPaddingBottom: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_padding_bottom.png"; break;
            case IconType.TextPaddingLeft: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_padding_left.png"; break;
            case IconType.TextPaddingRight: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_padding_right.png"; break;
            case IconType.TextPaddingTop: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_padding_top.png"; break;
            case IconType.TextReplace: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_replace.png"; break;
            case IconType.TextSignature: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_signature.png"; break;
            case IconType.TextSmallcaps: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_smallcaps.png"; break;
            case IconType.TextStrikethrough: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_strikethrough.png"; break;
            case IconType.TextSubscript: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_subscript.png"; break;
            case IconType.TextSuperscript: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_superscript.png"; break;
            case IconType.TextUnderline: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_underline.png"; break;
            case IconType.TextUppercase: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.text_uppercase.png"; break;
            case IconType.ThumbDown: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.thumb_down.png"; break;
            case IconType.ThumbUp: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.thumb_up.png"; break;
            case IconType.Tick: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tick.png"; break;
            case IconType.Time: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.time.png"; break;
            case IconType.TimelineMarker: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.timeline_marker.png"; break;
            case IconType.TimeAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.time_add.png"; break;
            case IconType.TimeDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.time_delete.png"; break;
            case IconType.TimeGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.time_go.png"; break;
            case IconType.Transmit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.transmit.png"; break;
            case IconType.TransmitAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.transmit_add.png"; break;
            case IconType.TransmitBlue: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.transmit_blue.png"; break;
            case IconType.TransmitDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.transmit_delete.png"; break;
            case IconType.TransmitEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.transmit_edit.png"; break;
            case IconType.TransmitError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.transmit_error.png"; break;
            case IconType.TransmitGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.transmit_go.png"; break;
            case IconType.Tux: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.tux.png"; break;
            case IconType.User: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.user.png"; break;
            case IconType.UserAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.user_add.png"; break;
            case IconType.UserComment: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.user_comment.png"; break;
            case IconType.UserDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.user_delete.png"; break;
            case IconType.UserEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.user_edit.png"; break;
            case IconType.UserFemale: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.user_female.png"; break;
            case IconType.UserGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.user_go.png"; break;
            case IconType.UserGray: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.user_gray.png"; break;
            case IconType.UserGreen: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.user_green.png"; break;
            case IconType.UserOrange: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.user_orange.png"; break;
            case IconType.UserRed: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.user_red.png"; break;
            case IconType.UserSuit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.user_suit.png"; break;
            case IconType.Vcard: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.vcard.png"; break;
            case IconType.VcardAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.vcard_add.png"; break;
            case IconType.VcardDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.vcard_delete.png"; break;
            case IconType.VcardEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.vcard_edit.png"; break;
            case IconType.Vector: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.vector.png"; break;
            case IconType.VectorAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.vector_add.png"; break;
            case IconType.VectorDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.vector_delete.png"; break;
            case IconType.Wand: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.wand.png"; break;
            case IconType.WeatherClouds: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.weather_clouds.png"; break;
            case IconType.WeatherCloudy: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.weather_cloudy.png"; break;
            case IconType.WeatherLightning: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.weather_lightning.png"; break;
            case IconType.WeatherRain: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.weather_rain.png"; break;
            case IconType.WeatherSnow: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.weather_snow.png"; break;
            case IconType.WeatherSun: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.weather_sun.png"; break;
            case IconType.Webcam: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.webcam.png"; break;
            case IconType.WebcamAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.webcam_add.png"; break;
            case IconType.WebcamDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.webcam_delete.png"; break;
            case IconType.WebcamError: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.webcam_error.png"; break;
            case IconType.World: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.world.png"; break;
            case IconType.WorldAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.world_add.png"; break;
            case IconType.WorldDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.world_delete.png"; break;
            case IconType.WorldEdit: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.world_edit.png"; break;
            case IconType.WorldGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.world_go.png"; break;
            case IconType.WorldLink: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.world_link.png"; break;
            case IconType.Wrench: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.wrench.png"; break;
            case IconType.WrenchOrange: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.wrench_orange.png"; break;
            case IconType.Xhtml: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.xhtml.png"; break;
            case IconType.XhtmlAdd: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.xhtml_add.png"; break;
            case IconType.XhtmlDelete: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.xhtml_delete.png"; break;
            case IconType.XhtmlGo: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.xhtml_go.png"; break;
            case IconType.XhtmlValid: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.xhtml_valid.png"; break;
            case IconType.Zoom: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.zoom.png"; break;
            case IconType.ZoomIn: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.zoom_in.png"; break;
            case IconType.ZoomOut: resourceName = "Shp.Web.UI.WebControls.Iconized.assets.im.ico.zoom_out.png"; break;
         }
         return resourceName;
      }
      #endregion Methods

      #region Ctors
      #endregion Ctors
   }
}
